package com.njust.service;

import com.njust.domain.dto.*;
import com.njust.domain.vo.TrainPageQueryPersonVO;
import com.njust.domain.vo.TrainPageQueryVO;
import org.apache.xmlbeans.XmlException;
import org.springframework.core.io.InputStreamResource;
import org.springframework.http.ResponseEntity;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

/**
 * @version 1.0
 * @Author Imak
 * @Date 2024/11/13 22:37
 * @培训考核
 */
public interface TrainService {
    public void upload_pdf(TrainTestPaperDTO trainTestPaperDTO);

    public String download(int project_id) throws FileNotFoundException;

    public String download_cert(TrainDownloadCertDTO trainDownloadCertDTO);

    public TrainPageQueryPersonVO queryPerson(TrainPageQueryDTO trainPageQueryDTO);

    public void updateStatus(int assessment_status, TrainPersonDTO trainPersonDTO) throws Exception;

    public TrainPageQueryPersonVO queryProject(TrainPageQueryDTO trainPageQueryDTO);

    void joinInTrain(TrainDTO trainDTO);
}
